<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN" "http://tiles.apache.org/dtds/tiles-config_3_0.dtd">

<tiles-definitions>

    <definition name="poll/detail" extends="page-logged">
        <put-attribute name="title" value="Poll | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/poll.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
        <put-attribute name="dojo-layers" expression="/WEB-INF/views/poll/dojo-detail.jsp" />
    </definition>

    <definition name="poll/vote" extends="main-vote">
        <put-attribute name="title" value="Poll Vote | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/vote.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
        <put-attribute name="dojo-layers" expression="/WEB-INF/views/home/dojo-vote.jsp" />
    </definition>

    <definition name="poll/voted" extends="main-vote">
        <put-attribute name="title" value="Voted | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/voted.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
    </definition>

    <definition name="poll/password" extends="main-vote">
        <put-attribute name="title" value="Voted | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/password.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
    </definition>

    <definition name="poll/bad" extends="main-vote">
        <put-attribute name="title" value="Bad Vote | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/bad-voted.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
    </definition>

    <definition name="poll/completed" extends="main-vote">
        <put-attribute name="title" value="Vote Completed | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/completed.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
    </definition>

    <definition name="poll/banned" extends="main-vote">
        <put-attribute name="title" value="Banned | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/bad-voted.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
    </definition>

    <definition name="poll/repeated" extends="main-vote">
        <put-attribute name="title" value="Repeated Voted | encuestame" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/repeated-voted.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
    </definition>

    <definition name="poll/list" extends="page-logged">
        <put-attribute name="title" value="Poll | encuestame" />
        <put-attribute name="menu" expression="/WEB-INF/jsp/includes/menu.jsp" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/poll-list.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
        <put-attribute name="dojo-layers" expression="/WEB-INF/views/poll/dojo-list.jsp" />
    </definition>

     <definition name="poll/new" extends="page-logged">
        <put-attribute name="title" value="New Poll | encuestame" />
        <put-attribute name="menu" expression="/WEB-INF/jsp/includes/menu.jsp" />
        <put-attribute name="content" expression="/WEB-INF/views/poll/new.jsp" />
        <put-attribute name="css_module" expression="/WEB-INF/views/poll/poll_css.jsp" />
        <put-attribute name="dojo-layers" expression="/WEB-INF/views/home/dojo-new.jsp" />
    </definition>


    <definition name="poll/embedded/vote" extends="main-embedded">
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/vote.jsp" />
    </definition>

    <definition name="poll/embedded/voted" extends="main-embedded">
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/voted.jsp" />
    </definition>

    <definition name="poll/embedded/bad" extends="main-embedded">
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/bad-voted.jsp" />
    </definition>

    <definition name="poll/embedded/banned" extends="main-embedded">
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/bad-voted.jsp" />
    </definition>

    <definition name="poll/embedded/repeated" extends="main-embedded">
        <put-attribute name="content" expression="/WEB-INF/views/poll/decorators/repeated-voted.jsp" />
    </definition>


</tiles-definitions>
